<div data-page="clientManage_financeSituation1" class="content4 content41 page" id="clientManage_financeSituation1">
	<p class="location">
		当前位置:
		<label class="locationInfo nav_active">企业用户管理</label>
	</p>
	<div class="df3">
		<span class="span1">
			<a class="enterpriseInfo1 nav_active">企业基本信息</a>
		</span>
		<span class="span3" style="margin-right: 20px;">|</span>
		<span class="span2">
			<a class="financeEvidentiary1 nav_active">证明材料</a>
		</span>
		<span class="span3" style="margin-right: 20px;">|</span>
		<span class="span2">
			<a class="financeSituation1 nav_active">融资情况</a>
		</span>
		<div class="auditState"><a class="auditStateYes">认证通过</a><a class="auditStateNo" href="javascript:void(0);">认证不通过</a></div>

		<label class="button_cancel"></label>
	</div>
	<div class="panel3_left fl1"></div>
	<div class="panel3_middle fl1"></div>
	<div class="panel3_right fl1"></div>
	<div class="tabSituation">
		<div class="clear"></div>
		<div class="situationNav"><a situationTab="situationTab1" class="situationNav-active">汇总信息</a><a situationTab="situationTab2">进行中</a><a situationTab="situationTab3">已关闭</a></div>
		<div class="situationTab1 situationTab">
			<div class="basic_info_title">
				<span>融资项目情况</span>
				<span class="spanLine"></span>
			</div>
			<div class="situationContent">
				<div class="situationRound situationRound1">
					<p class="roundTitle">历史融资总数</p>
					<p class="roundNumber"><span class="data" name="financeCount">0</span>笔</p>
					<p class="roundTip"><a class="applyDetail1" target="_blank">查看</a></p>
				</div>
				<div class="situationRound situationRound2">
					<p class="roundTitle">进行中的融资</p>
					<p class="roundNumber"><span class="data" name="progressing">0</span>笔</p>
					<p class="roundTip"><a class="applyDetail2" target="_blank">查看</a></p>
				</div>
				<div class="situationRound situationRound3">
					<p class="roundTitle">融资异常次数</p>
					<p class="roundNumber"><span class="data" name="abnormal">0</span>笔</p>
					<p class="roundTip"><a class="applyDetail3" target="_blank">查看</a></p>
				</div>
				<div class="situationRound situationRound4">
					<p class="roundTitle">赎货次数</p>
					<p class="roundNumber"><span class="data" name="redeem">0</span>次</p>
					<p class="roundTip"><a class="applyDetail4" target="_blank">查看</a></p>
				</div>
			</div>
			<div class="situationContent">
				<div class="situationRound situationRound1">
					<p class="roundTitle">延期还款次数</p>
					<p class="roundNumber"><span class="data" name="pickupDelay">0</span>次</p>
					<p class="roundTip"><a class="applyDetail" target="_blank">查看</a></p>
				</div>
				<div class="situationRound situationRound2">
					<p class="roundTitle">延缓计息次数</p>
					<p class="roundNumber"><span class="data" name="interestDelay">0</span>次</p>
					<p class="roundTip"><a class="applyDetail" target="_blank">查看</a></p>
				</div>
				<div class="situationRound situationRound3">
					<p class="roundTitle">货物被扣次数</p>
					<p class="roundNumber"><span class="data" name="detained">0</span>次</p>
					<p class="roundTip"><a class="applyDetail" target="_blank">查看</a></p>
				</div>
				<div class="situationRound situationRound4">
					<p class="roundTitle">不良资产处置</p>
					<p class="roundNumber"><span class="data" name="badassets">0</span>次</p>
					<p class="roundTip"><a class="applyDetail" target="_blank">查看</a></p>
				</div>
			</div>
			<div class="tabSituation">
				<div class="basic_info_title">
					<span>融资金额情况</span>
					<span class="spanLine"></span>
				</div>
				<div class="clear"></div>
				<div class="situationContent">
					<div class="situationRound situationRound5">
						<p class="roundTitle">历史融资总额</p>
						<p class="roundNumber"><span class="data" name="financeAmount">0</span></p>
						<p class="roundTip">含<span class="data" name="financeCount">0</span>笔融资</p>
					</div>
					<div class="situationRound situationRound6">
						<p class="roundTitle">进行中借款金额</p>
						<p class="roundNumber"><span class="data" name="totalLoanAmount">0</span></p>
						<p class="roundTip">含<span class="data" name="progressing">0</span>笔进行中的借款</p>
					</div>

					<div class="situationRound situationRound7">
						<p class="roundTitle">提货还款金额</p>
						<p class="roundNumber"><span class="data" name="totalRepayAmount">0</span></p>
						<p class="roundTip">含<span class="data" name="pickupCount">0</span>笔提货</p>
					</div>
				</div>
			</div>
		</div>
		<div class="situationTab2 situationTab none">
			<div class="situationDataContent">
				合计信息：
				<div class="situationDataBlock" style="  width: 100px;">
					共<span class="data" name="progressing">0</span>笔融资
				</div>
				<div class="situationDataBlock">
					<div class="fl" style="width: 58%;">
						货物总值总值：
					</div>
					<div class="fr" style="width: 42%;padding-right: 0px;">
						<div class="fr">
							<span>&#65509;<span class="data" name="inBulkstockValuation">0</span></span>
						</div>

					</div>
				</div>
				<div class="situationDataBlock">
					<div class="fl" style="width: 58%;">
						贷款总额：
					</div>
					<div class="fr" style="width: 42%;padding-right: 0px;">
						<div class="fr">
							<span>&#65509;<span class="data" name="inFinanceAmount">0</span></span>
						</div>

					</div>
				</div>
				<div class="situationDataBlock">
					<div class="fl" style="width: 58%;margin-left: 13px;">
						已放款总额：
					</div>
					<div class="fr" style="width: 42%;padding-right: 0px;">
						<div class="fr">
							<span>&#65509;<span class="data" name="inLoanAmount">0</span></span>
						</div>
					</div>
				</div>
				<div class="situationDataBlock">
					<div class="fl" style="width: 58%;">
						已收款总额：
					</div>
					<div class="fr" style="width: 42%;padding-right: 0px;">
						<div class="fr">
							<span>&#65509;<span class="data" name="inReceivables">0</span></span>
						</div>

					</div>
				</div>
				<div class="situationDataBlock" style="margin-left: 74px;width: 100px;">
					共<span class="data" name="inAbnormal">0</span>笔异常
				</div>
				<div class="situationDataBlock">
					<div class="fl" style="width: 58%;  margin-left: 30px;">
						授信额度：
					</div>
					<div class="fr" style="width: 42%;padding-right: 0px;">
						<div class="fr">
							<span>&#65509;<span class="data" name="inCreditQuota">0</span></span>
						</div>

					</div>
				</div>
				<div class="situationDataBlock">
					<div class="fl" style="width: 58%;">
						未收总额：
					</div>
					<div class="fr" style="width: 42%;padding-right: 0px;">
						<div class="fr">
							<span>&#65509;<span class="data" name="inRemindAmount">0</span></span>
						</div>

					</div>
				</div>
				<div class="situationDataBlock">
					<div class="fl" style="width: 58%;">
						在押货物总额：
					</div>
					<div class="fr" style="width: 42%;padding-right: 0px;">
						<div class="fr">
							<span>&#65509;<span class="data" name="inIncustodyAmount">0</span></span>
						</div>

					</div>
				</div>
				<div class="situationDataBlock">
					<div class="fl" style="width: 58%;  margin-left: 15px;">
						风险总值：
					</div>
					<div class="fr" style="width: 42%;padding-right: 0px;">
						<div class="fr">
							<span>&#65509;<span class="data" name="inRiskAmount">0</span></span>
						</div>

					</div>
				</div>
			</div>

			<table id="situationDataTableBody">
			</table>
			<div class="pagerCon"></div>
			<script type="text/template" id="situationDataTableTpl">
				<tr>
					<th>&nbsp;&nbsp;&nbsp;&nbsp;融资编号</th>
					<th>货物</th>
					<th>货物估值|估值单价</th>
					<th>贷款额度</th>
					<th>在押|金额</th>
					<th>待收回金额</th>
					<th>风险值</th>
					<th>已经放款</th>
					<th>已收款</th>
				</tr>
				{@each datas as it}
				<tr>
					<td>&nbsp;&nbsp;&nbsp;&nbsp;${it.financeNumber}</td>
					<td>
						{@each it.bulkstocks as item} ${item.bulkstockName}(${item.specification})
						<br /> {@/each}
					</td>
					<td>
						{@each it.bulkstocks as item} ￥${item.bulkstockValuation} | ${item.bulkstockPrice}/${item.unit}
						<br /> {@/each}
					</td>
					<td>￥${it.financeAmount}</td>
					<td>
						{@each it.bulkstocks as item}
						<span>${item.incustody}(${item.unit}) |
								￥${(item.incustody * item.bulkstockPrice).toFixed(2)}</span>
						<br /> {@/each}
					</td>
					<td>￥${it.totalLoanAmount-it.totalReceivedAmount}</td>
					<td>
						{@each it.bulkstocks as item} ￥${ (item.incustody*item.bulkstockPrice-it.totalLoanAmount*1+it.totalReceivedAmount*1).toFixed(2)}
						<br />{@/each}
					</td>
					<td>￥${it.totalLoanAmount}</td>
					<td>￥${it.totalReceivedAmount}</td>
				</tr>
				{@/each}
			</script>
		</div>
		<div class="situationTab3 situationTab none">
			<div class="situationDataContent">
				合计信息：
				<div class="situationDataBlock" style="width: 100px;">
					共<span class="data" name="hisFinanceCount">0</span>笔融资
					<br />
				</div>
				<div class="situationDataBlock">
					<div class="fl" style="width: 58%;">
						历史贷款总额：
					</div>
					<div class="fr" style="width: 42%;padding-right: 0px;">
						<div class="fr">
							<span>&#65509;<span class="data" name="totalLoanAmount">0</span></span>
						</div>
					</div>
				</div>
				<div class="situationDataBlock">
					<div class="fl" style="width: 58%;">
						历史异常费用：
					</div>
					<div class="fr" style="width: 42%;padding-right: 0px;">
						<div class="fr">
							<span>&#65509;<span class="data" name="hisAbnormalAmount">0</span></span>
						</div>
					</div>
				</div>
				<div class="situationDataBlock">
					<div class="fl" style="width: 58%;">
						历史还款总额：
					</div>
					<div class="fr" style="width: 42%;padding-right: 0px;">
						<div class="fr">
							<span>&#65509;<span class="data" name="totalRepayAmount">0</span></span>
						</div>
					</div>
				</div>
				<br />
				<div class="situationDataBlock" style="margin-left: 74px;width: 100px;">
					共<span class="data" name="hisAbnormal" style="pa-top: 10px;">0</span>笔异常
				</div>
			</div>
			<table id="situationDataTableBody1">
			</table>
			<div class="pagerCon"></div>
			<script type="text/template" id="situationDataTableTpl1">
				<tr>
					<th>&nbsp;&nbsp;&nbsp;&nbsp;融资编号</th>
					<th>货物</th>
					<th>货物估值|估值单价</th>
					<th>贷款额度</th>
					<th>在押|金额</th>
					<th>待收回金额</th>
					<th>已经放款</th>
					<th>已收款</th>
				</tr>
				{@each datas as it}
				<tr>
					<td>&nbsp;&nbsp;&nbsp;&nbsp;${it.financeNumber}</td>
					<td>
						{@each it.bulkstocks as item} ${item.bulkstockName}(${item.specification})
						<br /> {@/each}
					</td>
					<td>
						{@each it.bulkstocks as item} ￥${item.bulkstockValuation} | ${item.bulkstockPrice}/${item.unit}
						<br /> {@/each}
					</td>
					<td>￥${it.financeAmount}</td>
					<td>
						{@each it.bulkstocks as item}
						<span>${item.incustody}(${item.unit}) |
								￥${(item.incustody * item.bulkstockPrice).toFixed(2)}</span>
						<br /> {@/each}
					</td>
					<td>￥${it.totalLoanAmount-it.totalReceivedAmount}</td>
					<td>￥${it.totalLoanAmount}</td>
					<td>￥${it.totalReceivedAmount}</td>
				</tr>
				{@/each}
			</script>
		</div>
	</div>
	<div class="clear"></div>
</div>